//
//  LogRegisterHelper.m
//  Before
//
//  Created by lanou3g on 15/11/30.
//  Copyright © 2015年 sss. All rights reserved.
//

#import "LogRegisterHelper.h"
#import "MessageViewController.h"
#import "AppDelegate.h"
#import "rootViewController.h"
#import "LeftViewController.h"
@implementation LogRegisterHelper

+ (instancetype)Share
{
    
    static dispatch_once_t onceToken;
    static LogRegisterHelper * helper = nil;
    dispatch_once(&onceToken, ^{
        
        helper = [[LogRegisterHelper alloc]init];
        
        
    });
    return helper;
    
    
}
- (void)Enter
{
    
    AppDelegate * app = [UIApplication sharedApplication].delegate;
    rootViewController * rootVC = [rootViewController new];
    LeftViewController * leftVC = [LeftViewController new];
    app.leftSlider = [[LeftSlideViewController alloc]initWithLeftView:leftVC andMainView:rootVC];
    
    app.window.rootViewController = app.leftSlider;

    
}





@end
